<?php


$sort = $_GET['sort'];

$standings = $player->get(-1, "", -1, 0, 0, $sort);

$points = $rp->get();


$rp_categories = $rp_category->get();

$teams = $team->get();

$attributes = $player_attribute->get();

$attribute_categories = $attribute->get();

$smarty->assign('teams', $teams);

$smarty->assign('rp', $points);
$smarty->assign('rp_categories', $rp_categories);

$smarty->assign('standings', $standings);

$smarty->assign('attributes', $attributes);
$smarty->assign('attribute_categories', $attribute_categories);




//
//echo "<pre>";
//print_r($attributes);
//echo "</pre>";

$smarty->assign('races', $races);
$smarty->assign('classes', $classes);



$smarty->display('standings.tpl', $_SESSION['uid']);


?>